/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gridworld_v5;

import java.awt.image.BufferedImage;
import javax.swing.ImageIcon;

/**
 *
 * @author Jonah
 */
public class GWimages {
    /*implementation comment*/
    ////<editor-fold defaultstate="collapsed" desc="Static Variables">
    private static BufferedImage originalCritter = 
            ImageOperations.loadImage("src/gridworld_v5/hamtaro.png");
    private static BufferedImage originalFlower = 
            ImageOperations.loadImage("src/gridworld_v5/photo_daisy.png");
    private static BufferedImage originalBug = 
            ImageOperations.loadImage("src/gridworld_v5/bug.png");
    private static BufferedImage originalRock = 
            ImageOperations.loadImage("src/gridworld_v5/rock.png");
    private static BufferedImage originalBugRock = 
            ImageOperations.loadImage("src/gridworld_v5/bugRock.png");
    private static BufferedImage originalBugFlower = 
            ImageOperations.loadImage("src/gridworld_v5/bugDaisy.png");
    //</editor-fold>
    ////<editor-fold desc="Instanced Variables">
    //private BufferedImage originalCritter, originalFlower, originalBug, originalRock;
    public ImageIcon rockIcon, critterIcon, bugIcon, flowerIcon, bugRockIcon, bugFlowerIcon;
    //</editor-fold>
    ////<editor-fold defaultstate="collapsed" desc="Constructor">
    public GWimages(int pixels) {
        rockIcon = new ImageIcon(ImageOperations.resize(originalRock, pixels, pixels));
        critterIcon = new ImageIcon(ImageOperations.resize(originalCritter, pixels, pixels));
        bugIcon = new ImageIcon(ImageOperations.resize(originalBug, pixels, pixels));
        flowerIcon = new ImageIcon(ImageOperations.resize(originalFlower, pixels, pixels));
        bugRockIcon = new ImageIcon(ImageOperations.resize(originalBugRock, pixels, pixels));
        bugFlowerIcon = new ImageIcon(ImageOperations.resize(originalBugFlower, pixels, pixels));
    }
}
